package com.example.remoteaction.extension.demo.client;

import java.util.List;

import com.example.remoteaction.extension.demo.domain.School;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void getSchool(boolean fetchStudent, AsyncCallback<School> callback);
	
	void getAllSchool(boolean fetchStudent, AsyncCallback<List<School>> callback);
	
	void saveSchool(List<School> schoolList, AsyncCallback<String> callback);
	
}
